<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%@ page import="com.opensymphony.xwork2.interceptor.ExceptionHolder"%>
<%@ page import="com.opensymphony.xwork2.ActionContext"%>
<%@ page import="com.opensymphony.xwork2.ActionInvocation"%>

<%
	ActionInvocation invocation = ActionContext.getContext().getActionInvocation();
	Object obj = invocation.getStack().pop();
	ExceptionHolder eh = (ExceptionHolder) obj;
	Exception e = eh.getException();

	
%>

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>エラー情報</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="style/style.css" type="text/css" />
</head>
<body>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr align="center">
			<td width="30" colspan="2"><font color="red"><b>エラーが発生しました。</b></font></td>
		</tr>
		<tr>
			<td width="200" align="center"><font color="red">例外内容</font></td>
			<td><%= e %></td></tr>
		<tr align="center">
			<td width="30" colspan="2">&nbsp;</td>
		</tr>
		<tr>
			<td width="200" valign="top" align="center"><font color="red">トレース</font></td>
			<td><%= eh.getExceptionStack()%></td></tr>
	</table>

</body>
</html>